import { defineStore } from "pinia";

export const defineUser = defineStore("loginUser", {
  state: () => {
    return {
      uid: 0,
      username: "",
    };
  },
  getters: {
    getUsername(state) {
      return state.username;
    },
    getUid(state) {
      return state.uid;
    },
  },
});
